package com.onedec.menu.service;

import com.onedec.menu.entity.OnedecDeptPermission;

import java.util.List;

public interface DeptPermissionService {
    public List<OnedecDeptPermission> selectPermissionByDeptid(int id);
    public void insert(OnedecDeptPermission onedecDeptPermission);
List<OnedecDeptPermission> selectByDeptIdAndPermissionId(int deptId,int permissionId);
    void delete(int deptId);
}
